
export const mymixins = {
    data(){
        return {
            count:2020
        }
    },
    methods:{
        ranFun(min, max){
            return Math.floor(Math.random() * (max - min + 1) + min);
        }
    },
}

export const roleList = [
    {
        value:1,
        label:"普通员工"
    },
    {
        value:2,
        label:"程序员"
    },
    {
        value:3,
        label:"主管"
    },
    {
        value:4,
        label:"经理"
    },
]

export const  advacecatetory = [
    {
        title:"one",
        value:"生活休假",
        label:"生活休假",
        children:[
            {
                value:"结婚生子",
                title:"one_1",
                label:"结婚生子",
            },
            { 
                value:"意外难事",
                title:"one_2",
                label:"意外难事",
            },
            {
              value:"其他",
              title:"one_3",
              label:"其他",
            }
        ],
    },
    {
        value:"病例休假",
        title:"two",
        label:"病例休假",
        children:[
            {
                value:"普通病情",
                title:"two_1",
                label:"普通病情",
            },
            {
                value:"特殊病因",
                title:"two_2",
                label:"特殊病因",
            },  
        ]
    }    
]


export const  advace = [
    {
        title:"one",
        value:"吐槽",
        label:"吐槽",
    },
    {
        value:"划水",
        title:"two",
        label:"划水",
    },
    {
        value:"学习交流",
        title:"three",
        label:"学习交流",
    },  
    {
        value:"日常",
        title:"three",
        label:"日常",
    },    
]